Move tests to examples