ignore test output
Putting awk command into function