refactor parse tests for readability