[MAINT] Add unit tests for Gaussian pyramid.

As the title says.