update provider test to use new aggregater api
fix error type and message in generic backend when network does not match the managed network