Add test for add_affiliate()
Add shell tests to prevent phpunit from failing