fixed display by author not working issue, added tests for the feature