Removes extra whitespaces in tests.
Fixes callback issue on new post creation.