Removed unused function
Added tests for draft_apps
Removed unused imports
Use same format for all tests
Added tests for hidden_apps