make tests and examples work again