Replicating a version of a page--added junit test cases