Update test to show how to use arrays of derived types