Use named arguments instead of an array
Change documentation link to rpm.org
Add some unit tests for rpm triggers