Feature/test01

adds tests to LocalEncrypt.