added replacement policy test