Rubocop compliance changes
Change test code for rubocop compliance