Add cache_status and host_status as variables
factor those into the tests, and fix the hashing bug