Use short array syntax consistently in tests