Added checks to skip test with FireCake headers when accessed via CLI

This is to prevent errors from being thrown on CLI, tests pass fine via web page