Spec tests for delegate declarations