JFormRule::test

Method to test the value.