[TASK] Convert the tests to RSpec.