intermediate in-out testing