reorganized unit test in tatowiki in order to make them easier to maintain and avoid code duplication in cmake file