[BUGFIX] Add parameter types to database writes in functional tests