Fix Makefile to only run tests once during a build. Change travis build to run tests after build.