fix sample test