Fix stub tests.