refactor tests with factories
bump gems versions