Issue #1346: Move test alongside the other conditional tests.
Minor tidy up
minor
Fix #1346: By keeping track of the scope of assert substitutions and closing them after the block containing their scope is transformed.
Issue #1346: Use transformBlock() instead of transformStmts() so that we book-keeping done by transformBlock() is always performed.
Issue #1346: Get rid of transformStmts() so it can't be called by accident.
Replace calls like transform(block).getStatements() to transformBlock(block) to avoid creating a throwaway JCBlock.
Issue #1346: Close Substitutions after transforming initializers.
Issue #1346: Add a test