Fixed compiler error with tests.