encrypt module unit test added