testing method scope