Implemented test-suite for xcache and xcache bug fixes