added tests for content view publish
fixed the travis issue
Merge pull request #790 from tkolhar/master

added tests for content view publish