fix tests for jenkins