Adding some more tests for different parsing issues
also removed some warnings