Stubbing testing