Some working testing code in the UI