tweetnacl stress test case, code cleanup