...
To meet the joint return test, the child must not have filed a joint return for the tax year they are being claimed.
The only exception to this is if the dependent and their spouse are not required to file a tax return and file to claim a refund only.
Support
To meet the support test, the taxpayer must provide more than half of the child's support.
...