set up sample vs Replica tests varying kappa