fixed add test method