pass test for add method