added UI test and basic UI.