Stubbed some more svg measuring for Travis and cleaned the code