removed qt dependency in test.cpp