Modified test script and fixed setParam function
Fixed issue with printf() hanging. Removed all printfs(). Don't use them! Fixed issue with mismatched checksums not getting consumed