Added settings and user unit tests. Improved user admin validation to address all cases