Convert pipeline tests to JUnit for simplicity and sonar compatibility.