Replaced test script to run script/test or rspec