Update tests and batteries for new 0.0.104 API, fix Java 18 build