Some unified unittesting.