update dependencies
add tests for new cases