put the test data in DatabaseTestData class
Summary: deduplicate test data in automatic tests and put them into a shared class
Test Plan: all tests are OK with only one copy of the test data
Reviewers: astippich
Reviewed By: astippich
Differential Revision: https://phabricator.kde.org/D16233