Updated test to have dims={} in empty python codegen