Sorting out tests
missing encrypt return