Fix tests and change config options to use global and module test / analysis paths.