fix gem file for test env