added unitest case