fixed unit test.  Added code climate