Add .sh script that mimics Travis unittest behavior.

This is useful for people running the tests themselves.