Spec tests for override warnings