Tests for mobile api