Added Test for persistance.