Implement erase(iterator) and find(key) and add tests for the same.