adding spec test to test script