test(unique.js): nested properties, object support