use sample from tests list in code quiz, skip empty sample in dataset quiz