added api-meta and updated tests