tests: fix some unit tests

Remove unit test for GstIndex.
Make some other unit tests compile
14 files changed