Further fixes to loadbalancer functional tests.  Moved validation code into separate util file to be shared amongst test cases