refactor table processor and parser tests