adding test function for constantLine()
Merge branch 'f_constantline'

* f_constantline:
  adding test function for constantLine()