add unit test function for bz 1073725