Added a test script

Added a test script to verify that all is OK