refactoring project_spec and adding more tests on sprint_spec