fixed generated test