JAccessRuleTest::testAllow

Tests the JAccessRule::allow method.