fleshed out test on eq

it works. really need to put the tests and src into proper file
skeleton.