handle default values that are array literals (#604)

plus some test cleanup