test written for awk