update JUnit test to use the current method, not the depracated one
[pl] fix false alarms