add failing test - dates removed by toObject() with getters and minimize