test for add with non-existent pathspec