Add test cases for Bug#1072624
Merge branch 'master' into tuple-format-v3
Temp.