adding docker

adding docker tests
fixing cleanup bug