Add libcaffe.a to dependencies for TEST_ALL_BIN

Prior to this change, running `make clean && make test` gave the error `g++: error: libcaffe.a: No such file or directory`.  This fixes that.