Adding tests for switching to parent frame