Speed up some test by build gem only once
Fix cucumber test failure