added selftest / clear cache