added fvar tests for segment
fixed test naming for math/matrix head,segment,tail,subcol,subrow