Update jar and improve unit test