Merged tests with lib.