add and modify parser test
reek issue (refactoring)