Remote API calls should have some unittest as this test would have caught the bug that was introduced in 96d46bf4 and fixed in ebf17449