Add tests to ensure preview route/controller is working correctly