I agree with you. This was the only way I was able to think up that time. Sure, each test needs to deploy its bits exactly once and needs to ensure that these bits are undeployed at the end. Also, if a test deploys a bit to the server, then shuts the server down and then checks a condition by an assert, the test must include a finally clause in which it starts the server again and undeploys the bit.