Fix some code standard issues in tests.
Adds a File test.
Enabling apc, redis in travis.
Activating services memcached & redis-server.