fix unit tests
add tests for deleteUser