some working about unittesting