Added keyboard tests for SwapView.