add exception tests on AuthorTest.php