Implements additional unit tests for integral_flux_image in spectral_cub...

...e

Adds the unit test changes suggested in PR #178 comment.