Fixed tests for Jenkins.