added test for consumer#get_available_versions

adding test for get_available_versions. All test passing.
@KensoDev test added.