Adds failing tests and some code to parser