Runtest framwork modified