added test coverage for shift key