mv example tests from func dir to tests dir