Refactor tests

also add player outcome to command line interface