Added test case for double expand with callback