Fixed failing RSpec specs.