Add a test case for "add" command