fix unit test
add dependency resolver