add assertion for date after set_fields