add server side unittest for chef installer

Change-Id: I2fdb1f0a886225b7f99e350a53bd6a16d7af3c09