add method test