WIP: testability
first spec + refactoring
don't need homemade #sh(), rake has one
strip some weird character (Linux Ludites)