Fix encryption test when run from /