Adding decorator to skip tests.

Tests can be skipped based on the 'mode' that the server is running.