move tests to units.tests package