Construct jar while testing