to test key