add test() to callback