further refined RSpec tests