update test, remove 0.8 unsafe method