Rename folder of package for command line to cmd.
Add missing test files.