adding test function file