Set (relaxed) restrictions on gem version dependencies
Fix tests because of changes in MiniTest API