add log4j for test
add more code to test deferred result