Update to new RSpec syntax, add Code Climate testcoverage.