mainkey and testkey