change test to include replacement policy