Added test case for null input to parse()