Adaptive Test Generation with Q-grams | Synapse