Fixed deleting last build

And remove an useless test scenario.
I think the purpose of this test was to check that deleting a build actually deletes a build. Can you either put this test back or create a new test which deletes the only build in the project and checks that the project has no builds?