Put mocks to directory structure mimicking project structure.
Remove symlinks and make codebase use common modules instead.
Use consistent integer types for mocks.
Properly mock video function dependencies.