Added a test which compiles the provided examples