Add test for getQuota().

Mainly to test array passing from the APIWrapper to the library.