Fixes errors in tests with APC installed but not enabled in CLI.

When you have APC installed, but not enabled on the CLI the test was still running and producing errors. The APC functions exist, but they will trigger errors when you use them. This fix will make sure the test is skipped when that happens.