printenv: Add test for printenv.
Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D41468