fixing errors for 12.04
added testcase for large post
fix in testcase (off by one)
bugfix in test