testing the keyref trait