added word deletion test, fixed bugs in process