Rename test cases.

New test case name format: "references" + [period size] + "period" + [test case #]