Add options to run commands before or after tests