Added unit test for lib.getPostGroups
Updated README with new pagination API