Adding more tests for aperture_photometry

This PR depends on #68 and can be merge after that one, once I rebase. 

Coverage is 80% at the moment, only the ``mask is not None`` case is missing.

Addresses #64.