Fix tests on a system which doesn't have a 'categories.xml'