removed extra debug
more functions in qrtestlib