add gems for tests
fix events