Updates to testing, build file

Copies pattern from django-compressor which seems to work well in local
dev.