Fix bug 1082446 'Cluster restart failing after multiple switching back and forth from manual to Auto'.
Implement TA39075 'unit test for command package'