updated webtest dir, added api test