Fix UI tests, Add authoring BL and UI tests