adding tests for annotation api model