Add tests/env make target

This gives us an environment for testing
Start test suite for PNG generation
Implement path collapsing with tests
See if Travis CI will make PNGs for us