Fix stock test.