added test for copy from actionbar