Added code for running the tests on local machine and hubs