Adds testing gems and sets up testing environment.