Normalize solution specs expect

switches specs to use the new `expect` and `allow` syntax also cleans up some of the code to follow rubocop defaults.