Feature/add tests

Test main features of the parser.