add test for encrypted device

It is actually already fixed, so I just add test to prevent regression in future.
yes, but I expect that such factory will be maintained in yast2-storage as it is quite complex to create proper target map.