Test sync testKeySet()