add test method in stak file