Fixing sql field test.