Modify password hash test util
Properly perform updates and deletes by user, fixes #31