Unit tests: initial commit

Relates NEMO#701

[tests] Unit tests: initial commit
Unit tests: fix compilation with check < 0.9.9

Relates NEMO#701