test add method