Added test for post length validation