Added function test for QRStep