Fix compiler warning in operations test