Added tests for progs 4 and 6