Adding tests for new focus and show and focus functionality