AdaTest: Reinforcement Learning and Adaptive Sampling for On-chip Hardware Trojan Detection | Synapse