Adds test for updating view upon correct input.