fix csp.operations.unique; add more tests