add tests for Properties section user-id field, update setUserId to handle null