complete unit_test