Fix issue in form_test.go due to DB API change