added inner chain test