Fix gen-dep script
Build fails if test fails
Update the base image