Clean up and minor edits, plus defined the testUserInterface function. https://app.asana.com/0/16758621178694/18180849296822