Some tests/fixes for numpy date and struct interop