[1599] Auto-theme in package form - add tests for categorize_package(2).