fixed: duplicates produced in test random generated terms