Fix test compile error with Eclipse