added dual sum + avg test