Added encrypted volume support with tests.