[*] unit_test: small refactoring (prepare to tests extentsion)