Move some tests to examples