more tests and encrypt process