Adding test cases for Equivalent RE

All test passed