Updated test for both author helper and controller