Improve mimic: add test_activesupport_encode test