Add tests for 'crypto' elements