Add assertions that stubs are used