make test type safe and lint happy for eqeqeq