add simple test and auto trigger