Update clear and reset.
Add 100% code coverage