Add initial tests for cmd::add