fixed tests on library branch