use equal() in unit tests...

...being forced to learn this properly it seems ;)