Made the tests a little more readable.
Added code climate.