fix test build on linux

the DirectionOption enum is part of ControlParameterWidgetConnection.

The last commit that touched these lines was @9faf138 from @rryan. I assume he checked if the tests build before committing, So can someone with a mac check if this does not break anything