Fixed -h printout in run_tests.sh.
Added some basic unittests for monitor.py.
get_random_str() and is_root() moved from test_api.py to shared.py.
Added test data.
Added basic skelet of test_monitor.py.