Fix ugly output and refactor tests

Refactored to use recent mocha version that has promise built-in and cleanup the output for when we have the image cached locally...