Added support for running tests against stub through profile