test(instance_test.go) finish testing handlePreAccept and handleAccept