Add unit tests to gender filter