Added method find
Added replacement test
Refactored reset