stubbing out test cases for internal methods