downgrade to rspec 2.99, added guard, fine-tuning