Added unit-tests for LEGION and Hysteresis networks