docker: added tests for deploy.

related to #613.