Improving the run-tests.sh for Mac OS X using Zend Server
Tests would not run under Joomla! 3.2 as we never initialised the JApplication object