Rewrite of test_project + real test for this app.
This ensures python3 compatibility and shows better how 'interval' works.

Some improvements towards python 3 support have also been made.