added test script using unittest.py