Sample code used in my //build/ 2014 demo on using the Management Libraries to perform automated integration testing