Problem with kap10 deployment and restarts
Added a test