Tests for apiType