added a test for init lib