fix generation test for travis