Skip tests if scipy cannot be imported. Mark CTYPE as a list of bytes for Python 3