codeclimate, test improvements