Adds and passes UI delegate tests