Add tests target which builds all the dependencies for make test