* Fix service integration test. Set the proper file mode when copying before asserting the mode is correct. * Fix certificate_complete_chain test. Do not assume that testhost is the same as localhost.