Datetime and enum data field value

Can you also add a constructor that takes in a context and sets it as the base context  . Will be required by the functional tests when the app has to be initialised