Testing for array on ipareplicaarray define