adding tests for the encrypting classes