Fixed the tests: they now initialize the library