Unit test for APITest entries_add.