Test app is fully transformed to web.py

Because of AJAX testing, test app is now transformed to web.py
framework.