- added isAjax()
- made sure tests are always run in development environment
- cleanups
- added isAjax()
- updated tests