app: fix quota related tests

Fixing the build :-)
api: fix quota related tests