add test to avoid future cache (un)serialization problems #44