Useradd unit tests

Hi @jfindlay / @rallytime , Please review the kmod_test case and let me know if you have any review comments.