Explicitly force the router to use hash location when testing. Fix #202

This also fixes #202 where using history state breaks testing. As an alternate to using none, this patch preserves default behavior.