Add tests for images

There were no tests for images. I've added a few to confirm it works as expected.

@costford @pickle27 

/cc @orenmazor