Fixed most test
Run tests only if constant is defined and true
Merge pull request #14 from xepa/hotfix/ZendQueue-13

Hotfix/zend queue 13