Added tests for the commands. Changed author to author_id in parameter names.