add test for detection of is('api')