add test showing how hooks fail if not run last

hooks should be run after other properties have been applied so that their changes are not undone