Create key_tests.cpp