Fixed tests not working with jacoco