adding test to sample