Efficient state synchronisation in model-based testing through reinforcement learning | Synapse