adapt decrement tests to postgres as well