fixed compile error in test