Adding script to run all tests.
Now we must specify either USE_PORTAL or USE_CHANNEL at compile time by setting TYPE=type when compiling.
USE_PORTAL is used by default if TYPE is not specified at compile time.