arelle

Free
It integrates test cases with the object models for XBRL instances and DTSes.