Added proper cleanup to the tests (note that it was needed to increase timeout for project delete). Fixes #449