AppManagerCommands UT, more comments and debug log