add platform tests for encryption
formatting