workaround Bug 11133 - documented unittest outside of version scope

- Move unittest to directly after version (D_Ddoc)
  followed by the implementations.

- Dummy symbol for optlink's Bug 3956 needs to be
  placed before the unittest.