depends.py: enable key exchange tests


Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py
index ed9caa4..3633190 100755
--- a/tests/scripts/depends.py
+++ b/tests/scripts/depends.py
@@ -435,9 +435,7 @@
                                           '|!MBEDTLS_*_NO_SHA'),
             # Key exchange types. Only build the library and the sample
             # programs.
-            'kex': ExclusiveDomain(key_exchange_symbols,
-                                   [build_command + ['lib'],
-                                    build_command + ['-C', 'programs']]),
+            'kex': ExclusiveDomain(key_exchange_symbols, build_and_test),
             'pkalgs': ComplementaryDomain(['MBEDTLS_ECDSA_C',
                                            'MBEDTLS_ECP_C',
                                            'MBEDTLS_PKCS1_V21',