I added this in error cases, since we could get no result(projectId) in there, which would cause all the tests to fail. This only applies to the first time the getProjects method gets called and then it is passed on by projectId parameter anyways. So i changed the follow-up tests to use projectId instead.