Added test for _getUserInputKey