Refactored the unittest to utilise the new split libraries.
Refactored unittest application for support of splitted libraries
[r930]
[r924]
svn [r768]