fixed test for checking keyboard keynames validity