rm wait() from func tests

remove wait() from func tests.
--done for usecase app tests
--done for serveronly app tests
--on going: common app tests and example app tests.

remove some unused test files.