Fixing tests, including gem.