final middle-test