add missing dependency
add new test cases