wrap test source code inside TestCase#run and some TestCase#run refactoring
fix done test count and some optimizations with indexes, mark empty tests as pending (it's ok state)