sample with tests