Moved testing framework to ruby script.