Added test with RSpec