Changed parsers method to return ParserCollection pointer.
Added unit test for enums inside messages.