Parser should always throw an exception on failure. Added unit test for failing IF statement.