Delete trailing spaces
Split into two test cases (logged in and anonymous)
Add assert_author_visibility method (tests are more readable)