Now testing the UI command factory