reworked tests after updates to lib