JDataSetTest::testValid

Tests the valid method.