EZP-22051: Added tests for core PreviewController