change order of checks in vizhash test
fix bug with vizhash urls being altered by RainTPL