Jython compatibility

still can't run all tests at once under Jython - web server hangs after
so many requests