Tests to consume filtered contents on client

Covers following issues:
#654
#655
#656
#657

Also added a function to refresh the publish-view and validating the version number as it should increase by1