Fixed tests and global imports in main jip module