Created UI methods and corresponding tests