implemented QSTest class