JInputTest::testDef

Test the JInput::def method.