[TEST] Add api test for all resources.