Refactored unit tests to be more compace and manageble.
Added validation of generated package.