added chain test