Clean-up billing API tests

Currently there's a lot of duplicated code and a lot of things being tested in individual tests.