move file /diff_test.py -> /example_test.py

also added function doc
added doc for compile_test
cleaned up tests in the test directory