Implemented some tests for clear, contains and for not implementations.
Added more tests for the logic.