added test for mysql database cache