implementation of alarm-test-disguise + partial bug solving of the handler triggering