test rubocop and convert to base