Add tests.
Fix log.properties