state upd
pg_view_comments updates + tests added
closes #12