add custom task log.
add constructors for test environment class.