Complete midplace functionality on test file.