fixing spec to match array regardless of order