Implement single-method leanpub conversion.
Rename directory vars in test.