refactor test to use rspec change command instead