Improve test for container list `ps`

Docker-DCO-1.1-Signed-off-by: Fabio Falci <fabiofalci@gmail.com> (github: fabiofalci)
Merge pull request #3776 from fabiofalci/container_list_test

Improve test for container list `ps`