Added tests for addKey and queryKey.  At 74% coverage!