Added tests for user fn, ls, profile correctness