Bug fix: make sure IFS in rcup.in isn't left in an incorrect state when the output of lsrc is empty.
Add tests to ensure hooks are running on rcup.