ISPN-3626 Add tests for ENCRYPT