Fix mkcmd. Add some tests. Add MANIFEST.in