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