tests for VkApi class, bug fixes