Add a test to assert correct compile ast.