Fixes for arrays of strings/numbers and AS unit tests.