Add test for std::initializer_list

This branch adds a test for initializer lists, but I'm not sure if I got the CMake side of the test right. Christoph, can you take a look?