Return null if empty
Revert "Update ParserTest"

This reverts commit 831425906c371fddd291268a2b0ced70c6ee0f85.