create TestAPI::getRandom() with all the bits