encfs: add test

Closes #32799.