Fixed bug in gen test script