remove ApiKey struct from tests