Use keycode constants from jQuery UI and improve message in test.