fix compilation error in test