Added restriccions to date project.
Added persistence test.