Fix User::removePost()
CS fix
Remove unused code
Merge pull request #860 from szappacosta/fix-document-user

Fix User::removePost() in test fixture
Merge pull request #863 from megazoll/patch-1

CS fix and remove unused code