Mk/Uses/emacs.mk: Add test argument
The test argument will set the correct value for TEST_DEPENDS by
respecting the value of EMACS_DEFAULT.
Event: Halifax Hackathon 202606
Reviewed by: ashish
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57784