changed to meet justin's changes
added tests and implementation for first and last author
Merged from vasilis