Now tests array record types and the eventRecord. Also moved repeated IOC startup code into separate function.