Implements additional unit tests for integral_flux_image in spectral_cub...

...e

Adds the unit test changes suggested in PR #178 comment.
if it fits well on one line, no need to create temp `expected` and `actual` variables.
In this case simply write:
```
assert_allclose(image.data, image2.data)
```