Test stub within a stub