Update gems

Updated gem dependencies, mostly testing gems.
Updated deprecated syntax and packaging for specs.