Testing the Rep Funct