add and edit tests for new revised_at date logic