fix tests (fixes #1)