Testing cleanKeys