Tweak build and Travis config for running tests