Fixed unit test and added persist to default page