package splitting, basic unit tests