integrative test for 'docker rm' including 'docker wait'