Add unittests for entropy

Added run_tests.sh, taken shamelessly from taskflow.

Change-Id: I39b9cfa106c06296b917077cc3ef93dbf5a9a03b