New equals() test

Also refactored tests for `normalize` and `select` according to junit 4 syntax