You can't get true "test" (e.g. non-production accounts) from QuickBooks. They won't give you access to that environment.
If you're an IPP/Intuit Anywhere developer, submit a support ticket to Intuit with a request for a 1-year development instance of QuickBooks Online. They will send you a coupon code for a one-year free trial.
Otherwise, you're SOL.