Refactoring test for project status