Added tests to clarify parser behavior