Tests for webmachine's body flow