Fixed malformed if test.