run tests in docker container, various fixes