Fixed tests for Jenkins