API v5 unit tests

  • fix existing tests after integration of API v5
  • add tests for v5 provider setup
Edited by cyberta