using RSpec for testing