added unit tests for the use creation