corected order of ref and test profiles