Updating gems and fixing tests