Added integration test for syslog4j adapter and log collector. Did some refactoring on test fixtures