run test in docker container; some fixes