fix failing firefox test due to reversed attr order in firefox