TST: added test for PyArray_AsCArray #5313