Updated to include tests for nil values in stack_updater