Add test case for nested Array typecaster