test compiling of examples