test for diff key length