Test prof string method