Add cache without global prefix tests and counter manipulation tests