Added runtime functions for test scripts
Some lines were missing from some of the test scripts like the following:
if __name__ == '__main__':
unittest.main()
Just to keep things uniform and consistent, these lines have been added to test scripts.