Added tests for app administrator functionality