jsmin: add test

Closes #26648.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>