Refactored handler levels and corresponding tests. Removed AppName from handler levels.