Fixed compiler issue for test