API: add some tests