added methods and tests for editing a project with correct code and documentation#179