Parser unit tests