Added license section to test files; Added more unit tests for CLI functions.