Fix license
Add tests as a subcommand for setup.py