Add Tests for ER and HIO

Copied in source from previous test programs