Switching sample record used in test