add a new test case for r2c newarray