add missing sql test
Merge branch 'master' of github.com:privacyidea/privacyidea