Coverage for delete method.
Replaced the switch case with an if-else statement #code-coverage
Update README.