Avoid global Bosh::Agent::Config in platform test

Change-Id: I45c6cbbc2f467567bbccf12530fbc2b473275a33