simplifies runtest and hopefully fixes travis