added mock test for add