Fix 11745: Private unit tests can not be invoked.
Added unittests for issue 11745.
Merge pull request #2963 from Kapps/fix11745

Fix 11745: Private unit tests can not be invoked.