Add test for type conversions for N dimension objects