Testing API calls, units and preferences