add tests for maxpooling layer forward, and for maxpooling with top mask