tweaked rspec it and expect snippets