SQL: added test of inserting negative decimal. Part of #2099.