Add test to ensure parent treestates only can appear earlier in the transaction or in the global state, not later.
Add test to ensure parent treestates only can appear earlier in the transaction or in the global state, not later.

aniemerg/zcash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash,aniemerg/zcash,CTRoundTable/Encrypted.Cash,aniemerg/zcash,bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,aniemerg/zcash,bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,aniemerg/zcash,bitcoinsSG/zcash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash,aniemerg/zcash,CTRoundTable/Encrypted.Cash,bitcoinsSG/zcash