Using parser in tests, parsing conditionals