Remove used of defined?; was causing tests to be marked pending always

defined? does not evaluate expressions, so when an expressions is
passed to it that has no value until it is run, defined? will always
return nil. In this case, it was causing tests that should be run
in some cases to be marked as pending by the code.
Merge branch 'mm/always-pending-tests'