Add new refer test function