Adds setter for type when using addRunInstaceResult
Adds data and time to result object
Extra tests for date time