add test and current scope