Stubbing some tests