upgrade to rubocop 0.23.0, and improve some tests
revert change to spec loops
Merge pull request #15 from theckman/upgrade_rubocop_0.23.0

upgrade to rubocop 0.23.0, and improve some tests