Fixed cache tests

Signed-off-by: Luis Pabón <lpabon@redhat.com>