Added delete users procedure and some more tests.