added spec to cover getting the project from Object and from request