Added tests for project repository queries
Remove unused import
Added custom exceptions
Raise custom RepositoryError instead of IntegrityError
Added tests for project repository save method