add tests for CLI player. coverage is now almost 100%.