[buteo-sync-plugins] Use QTEST_MAIN instead of own main.cpp file.

Fix build and libs linking.