reduce number of samples in test_ket example to try working on edx.org