The by-election in the traditionally conservative seat is viewed as an electoral test for Pauline Hanson's One Nation.