replace useless test that does not test anything with test for keyEscaper