diff --git a/test/triqs/h5/CMakeLists.txt b/test/triqs/h5/CMakeLists.txt
new file mode 100644
index 00000000..917a5baf
--- /dev/null
+++ b/test/triqs/h5/CMakeLists.txt
@@ -0,0 +1,2 @@
+all_tests()
+
diff --git a/test/triqs/h5/map_h5.cpp b/test/triqs/h5/map_h5.cpp
new file mode 100644
index 00000000..11f5e8ae
--- /dev/null
+++ b/test/triqs/h5/map_h5.cpp
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ *
+ * TRIQS: a Toolbox for Research in Interacting Quantum Systems
+ *
+ * Copyright (C) 2011 by O. Parcollet
+ *
+ * TRIQS is free software: you can redistribute it and/or modify it under the
+ * terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * TRIQS is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * TRIQS. If not, see .
+ *
+ ******************************************************************************/
+#include
+#include