add integration tests for subcommandS