API unittesting #2