Added ConfigVersion to api_test.
Updated tests to the new explore method.
Renamed test case.
Added test_utils to contain common test logic.
ApiError now implements standard error. Also added msg to pass custom messages to it, although better approaches may exist.