add copy of FHDLTestCase from nmigen