tests: Implemented 'tests' target in cmake project.