Unit test for select change event based on keyboard events