add api-level tests