Add scriptlets and fileattr tests.