use compiling of examples as test

This should just be temporary, but it is better than no tests.