add tests for rectangular pooling regions