add a unit test to exercise the preview_component AJAX callback in the CMS