unit tests that compile samples