Removing authorname and fixing os.path on tests