Added RSpec for tests