Added JaCoCo settings to demo app (but disabled) and added some test cases.