integration tests for image and mc

@mlippert and @ysahnpark ... gonna merge this with master shortly