Disable side effects for tests