ENH: test return of memoryview