Testkey macro fix

Fixed the testkey macro