fix tests as run by buildout