test1520: Fixed compilation errors