feat/preview - changes to get preview to pass unit test