adding attaching API tests