provision: fixed tests.

related to #806.
provision/docker: removing saveUnits action and using app.Units().

related to #806.
api: fixed tests.

related to #806.
collector: fixed tests.

related to #806.