Add more tests to relative equality test

Many fail.
Fix relative equality function