Robustified the testing us RSpec.