Run install and tests in sourcedir

Main package install and test run in given source directory, with deployment tests adapted, and no spurious commits.