added expire view cache (might be moved to another file later)
fixed tests (esp. with template tags and caching)