Using the new isValid call to verify output of modules