Integration test and Clover and Check style

Code Improvement after Check style. Added integration test. Added clover support