refac(uniqe): orders collection checks
test(unique): add more tests