Add tests to ensure preview route/controller is working correctly

Nice Idea! Will do that once this PR goes in to maintain coherency.