Update gems and set up test environment