Implement core unittests
unittests: Move tests-core into subdirectoy
Merge pull request #961 from authmillenon/core-unittests

unittests: Unittests for core module data strutures