add tests to localencrypted
more tests
.
Merge pull request #873 from matiu/feature/test01

Feature/test01