Add tests for DefineKey to throw if lowercase keys are passed or an invalid key sequence is passed.