Make sure test exits ok