DP-178 Rubocop fixes and removed test script