renam test function to be consitent