Adding spec tests for defines