refactor startTest