Improved testing

Added creation and deletion of user in database to be used by the
test code only