Finalize library and tester