Fixed bug in remote testing