Fixed test on 'cached' parameter.

'cached' parameter is boolean, not string