Test proxy function and update Makefile