added project manager test, refactoring