Travis

Travis-CI test file plus minor changes to allow tests to be run outside of the source directory.