fix dependency versions and update tests