Add timeout test for def-go-fn