Checks that the async attribute takes precendence over defer.