test cases for 1d, 4d, 5d