When deleting a project in a unit test, wait for the auto build to
complete before returning from the deleteProject method.