Test that the examples match the Java library