test for middle