Parser fixed. Test assert added in test_parser.