simplify gem and make tests run