Fixed lint issues and Regression test.
Fixed lint issues and Regression test.

joyent/containerbuddy,benoittoulme/containerpilot,benoittoulme/containerpilot,benoittoulme/containerpilot,tgross/containerbuddy,tgross/containerbuddy,joyent/containerpilot,joyent/containerpilot,joyent/containerbuddy,joyent/containerpilot