Make CMakeList for tests

Fix tests for CMakeLists
Remove MojDbMediaLinkManager