Add tests for tuple option to nd.as_py