Fix test setup for React 0.11