Added tests for getting post number.