Added tests that check "requires" attribute.