change test to sample