stubbing test and added dependencies