key distribution test