Fixed some problems with validation and tests that have array arguments