JControllerBaseTest::testSerialise

Tests the serialize method.