modified makefile to allow running tests inside or outside docker
ensure test artifacts are owned by the current user