fixing the pooling with stride plus adding a test.