Add spec files for user interface tests and modified ui components to keep references to their views.