samples and tests for r:graphValidator refactored and fixed