Added test case for log attach