replace img.png with a real (tiny) png.
added another smoke test, --output-dir argument.
run 'build' twice in smoke test for 100% coverage of build.py.