add test for readonly dateparts