Fixed rspec sanity test