Fixed broken test with captor.