Added cucumber tests to posting, plus some fixes.