more fixes for gd tests
memcache fixes