JAccessRulesTest::test__constructString

This method tests both the contructor and the __toString magic method.

The input for this class could come from a posted form, or from a JSON string stored in the database. We need to ensure that the resulting JSON is the same as the input.