Fix 5.4 array syntax in tests