unittesting fixed