adding useradd unit test case.

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