Complete tests for XCache class

Similar to Wincache and APC. Implemented tests, but still the tests are skipped, and phpunit on execution shows assertions 0, skipped 6. I think it is because I don't have either Wincache, APC or XCache installed. The `try` `catch` conditions in `setup` clearly states to mark tests as skipped in case the services are not available.