Add .gitkeep only in directories that would be empty otherwise
Add tests for cli new command