Changed test to sample