JJ: fixed tests for jessie