tests for billing model