added test for goto