Add a test utility function to read replay_data
Fix some issues in the GitHub API
Started to mock Commands duing test