shared unittests