fix tests that fail under a self-installed bundle