Adds tests for enabling and disabling attributes that cause resource loading