Fix issue where the first test recording is lost; Add customizable recording location