Added testing for Key