Partial fix for test path retrival in test mode