Unit tests for the history Command