#40756Split off functional category collection tests
Description
Most CategoryCollectionTests need dummy records and dummy database
tables to work. They do not only test the category collection class
itself, but also the underlying database functionality and queries.
They are functional tests, and moved to the functional section.