Update Extension with dependencies test cases

Signed-off-by: crynobone <crynobone@gmail.com>
Fix extension unit test

Signed-off-by: crynobone <crynobone@gmail.com>