* refactor testcases
* convert intent to intent[] (multi-segment)
* add test for multi-segment intent
improve group test
setting global timeout for tests extending TestBase