Code Climate test reporting error