Fix not included source in tests

Function implementations must be available to tests as well of course
Add support for multiple source directories to create_target in CMake
project