it: minimize number of asserts in library