add unit test for IntegralImageLayer