* 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.
* Adding certificate_complete_chain module. * Avoid code smell errors. * Removing input_chain_src. * Make sure line ending is there.