tests fix for using on jenkins