Fix encryption test with new directory structure