Added some new tests

Refined the tests in unique spec and started writing tests for overlay