Added Test case for Engine shutdown

Docker-DCO-1.1-Signed-off-by: Rajdeep Dua <dua_rajdeep@yahoo.com> (github: rajdeepd)
Merge pull request #7622 from rajdeepd/master

Added Test case for Engine shutdown