added delete method and test for author resource