Added span creation tests